

package com.woniu.outlet.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("工序对象参数")
public class WorkingProcedurePo {

    @ApiModelProperty(value = "工序id")
    private Long id;

    @ApiModelProperty(value = "工序编码")
    private String workingProcedureCode;

    @ApiModelProperty(value = "上级工序编码")
    private String superiorWorkingProcedureCode;

    @ApiModelProperty(value = "工序分类id")
    @NotNull(message = "工序分类id不能为空")
    private Long processClassification;

    @ApiModelProperty(value = "工序名称")
    private String processName;

    @ApiModelProperty(value = "工序说明")
    private String processDescription;

    @ApiModelProperty(value = "启用状态")
    private String enableStatus;

    @ApiModelProperty(value = "设备id")
    private Long equipmentId;

    @ApiModelProperty(value = "是否外协")
    private String outsourcingProcessing;

    @ApiModelProperty(value = "是否提价")
    private String raisePrice;

    @ApiModelProperty(value = "生产规格")
    @NotNull(message = "工序生产数量不能为空")
    private Integer proSpecifications;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "备用字段1")
    private String spare1;

    @ApiModelProperty(value = "备用字段2")
    private String spare2;

    @ApiModelProperty(value = "备用字段3")
    private String spare3;



}
